'use strict';
let rank_desc = function(collection){
  collection.sort(function(a,b){
    if(a>b) return 1;
    if(a<b) return -1;
    return 0;
  })
  return collection;
};

module.exports = rank_desc;
